package iflyer.dao;

import iflyer.model.ProductInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * mysql mybatis方式
 *
 * @Author babylct
 * @Description //TODO
 * @Date 20:09 2018/7/20
 * @Param
 * @return
 **/
@Mapper
public interface ProductInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ProductInfo record);

    ProductInfo selectByPrimaryKey(Long id);

    List<ProductInfo> findAll();
}
